/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package EDT.obj;

/**
 *
 * @author ali
 */
public class Intervenant {
    
    private String nom;
    private String prenom;
    private int id;
    private int anneea;
    private int anneeb;
    
    private String etat;

    public String getEtat() {
        return etat;
    }

    public void setEtat(String etat) {
        this.etat = etat;
    }
    
    public int getAnneea() {
        return anneea;
    }

    @Override
    public String toString() {
        return "Intervenant{" + "nom=" + nom + ", prenom=" + prenom + ", id=" + id + ", anneea=" + anneea + ", anneeb=" + anneeb + '}';
    }

    public Intervenant(String nom, String prenom, int id, int anneea, int anneeb) {
        this.nom = nom;
        this.prenom = prenom;
        this.id = id;
        this.anneea = anneea;
        this.anneeb = anneeb;
    }

    public void setAnneea(int anneea) {
        this.anneea = anneea;
    }

    public int getAnneeb() {
        return anneeb;
    }

    public void setAnneeb(int anneeb) {
        this.anneeb = anneeb;
    }

    public Intervenant(String nom, String prenom, int id,String etat) {
        this.nom = nom;
        this.prenom = prenom;
        this.id = id;
        this.etat = etat;
    }
    
    public Intervenant(String nom, String prenom, int id) {
        this.nom = nom;
        this.prenom = prenom;
        this.id = id;
        
    }

    
    
    
    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

    public String getPrenom() {
        return prenom;
    }

    public void setPrenom(String prenom) {
        this.prenom = prenom;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    
    
    
}
